<!--
 * @Author: your name
 * @Date: 2022-02-21 14:48:50
 * @LastEditTime: 2022-02-21 18:30:34
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \gitCK\day-4\box.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型</title>
    <style>
        body{
            margin: 0;
        }
        .box{
            width: 100px;
            height: 100px;
            background-color: yellowgreen;
            margin: 10px 10px 10px 10px;
            padding: auto;
            border-width: 2px;
            border-color: whitesmoke;
            border-style: solid;
            border-radius:2px
        }
    </style>
</head>
<body>
    <div class="box">盒子1</div>
    <div class="box">盒子2</div>
</body>
</html>